package es.unex.meigas.gui;

import javax.swing.JPanel;

import es.unex.meigas.core.AdministrativeUnit;
import es.unex.meigas.filters.FiltersPanel;

public class AdministrativeUnitPanel extends DasocraticElementPanel{

	public AdministrativeUnitPanel (AdministrativeUnit administrativeUnit, MeigasPanel meigasPanel){

		super(administrativeUnit, meigasPanel);

	}

	protected void initializeContent(){

		m_Panels = new JPanel[6];
		m_Panels[0] = new AdministrativeUnitParametersPanel((AdministrativeUnit)m_Element, m_MeigasPanel);
		m_Panels[1] = new NotesPanel(m_Element, m_MeigasPanel);
		m_Panels[2] = new SummaryPanel(m_Element, m_MeigasPanel);
		m_Panels[3] = new DistributionPanel(m_Element, m_MeigasPanel);
		m_Panels[4] = new GeographicRenderingPanel(m_Element, m_MeigasPanel);
		m_Panels[5] = new FiltersPanel(m_Element, m_MeigasPanel);

	}

	protected void updateContent() {}

}
